package com.item.dao;

import com.item.dao.model.NewsOperation;
import com.item.dao.model.NewsOperationExample;
import com.item.dao.model.NewsOperationKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NewsOperationMapper {
    int countByExample(NewsOperationExample example);

    int deleteByExample(NewsOperationExample example);

    int deleteByPrimaryKey(NewsOperationKey key);

    int insert(NewsOperation record);

    int insertSelective(NewsOperation record);

    List<NewsOperation> selectByExample(NewsOperationExample example);

    NewsOperation selectByPrimaryKey(NewsOperationKey key);

    int updateByExampleSelective(@Param("record") NewsOperation record, @Param("example") NewsOperationExample example);

    int updateByExample(@Param("record") NewsOperation record, @Param("example") NewsOperationExample example);

    int updateByPrimaryKeySelective(NewsOperation record);

    int updateByPrimaryKey(NewsOperation record);
}